package com.dwm716.shorturl.service;

import com.dwm716.shorturl.domain.UrlMap;
import com.dwm716.shorturl.pagehelper.PageResult;

/**
 * @author biliyu
 * @date 2023/6/7 08:57
 */
public interface UrlMapService {

    int insert(UrlMap urlMap);

    String getLongUrlByShortUrl(String shortUrl);

    UrlMap getByShortUrl(String shortUrl);

    PageResult<UrlMap> list(Integer userId, String remark, Integer pageNo, Integer pageSize);
}
